Integrand size = 26, antiderivative size = 235 \[ \int \frac {\sqrt {x} \left (A+B x^2\right )}{b x^2+c x^4} \, dx=-\frac {2 A}{b \sqrt {x}}-\frac {(b B-A c) \arctan \left (1-\frac {\sqrt {2} \sqrt [4]{c} \sqrt {x}}{\sqrt [4]{b}}\right )}{\sqrt {2} b^{5/4} c^{3/4}}+\frac {(b B-A c) \arctan \left (1+\frac {\sqrt {2} \sqrt [4]{c} \sqrt {x}}{\sqrt [4]{b}}\right )}{\sqrt {2} b^{5/4} c^{3/4}}+\frac {(b B-A c) \log \left (\sqrt {b}-\sqrt {2} \sqrt [4]{b} \sqrt [4]{c} \sqrt {x}+\sqrt {c} x\right )}{2 \sqrt {2} b^{5/4} c^{3/4}}-\frac {(b B-A c) \log \left (\sqrt {b}+\sqrt {2} \sqrt [4]{b} \sqrt [4]{c} \sqrt {x}+\sqrt {c} x\right )}{2 \sqrt {2} b^{5/4} c^{3/4}} \]
-1/2*(-A*c+B*b)*arctan(1-c^(1/4)*2^(1/2)*x^(1/2)/b^(1/4))/b^(5/4)/c^(3/4)* 2^(1/2)+1/2*(-A*c+B*b)*arctan(1+c^(1/4)*2^(1/2)*x^(1/2)/b^(1/4))/b^(5/4)/c ^(3/4)*2^(1/2)+1/4*(-A*c+B*b)*ln(b^(1/2)+x*c^(1/2)-b^(1/4)*c^(1/4)*2^(1/2) *x^(1/2))/b^(5/4)/c^(3/4)*2^(1/2)-1/4*(-A*c+B*b)*ln(b^(1/2)+x*c^(1/2)+b^(1 /4)*c^(1/4)*2^(1/2)*x^(1/2))/b^(5/4)/c^(3/4)*2^(1/2)-2*A/b/x^(1/2)
Time = 0.32 (sec) , antiderivative size = 135, normalized size of antiderivative = 0.57 \[ \int \frac {\sqrt {x} \left (A+B x^2\right )}{b x^2+c x^4} \, dx=-\frac {2 A}{b \sqrt {x}}-\frac {(b B-A c) \arctan \left (\frac {\sqrt {b}-\sqrt {c} x}{\sqrt {2} \sqrt [4]{b} \sqrt [4]{c} \sqrt {x}}\right )}{\sqrt {2} b^{5/4} c^{3/4}}-\frac {(b B-A c) \text {arctanh}\left (\frac {\sqrt {2} \sqrt [4]{b} \sqrt [4]{c} \sqrt {x}}{\sqrt {b}+\sqrt {c} x}\right )}{\sqrt {2} b^{5/4} c^{3/4}} \]
(-2*A)/(b*Sqrt[x]) - ((b*B - A*c)*ArcTan[(Sqrt[b] - Sqrt[c]*x)/(Sqrt[2]*b^ (1/4)*c^(1/4)*Sqrt[x])])/(Sqrt[2]*b^(5/4)*c^(3/4)) - ((b*B - A*c)*ArcTanh[ (Sqrt[2]*b^(1/4)*c^(1/4)*Sqrt[x])/(Sqrt[b] + Sqrt[c]*x)])/(Sqrt[2]*b^(5/4) *c^(3/4))
Time = 0.41 (sec) , antiderivative size = 237, normalized size of antiderivative = 1.01, number of steps used = 12, number of rules used = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.423, Rules used = {9, 359, 266, 826, 1476, 1082, 217, 1479, 25, 27, 1103}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {\sqrt {x} \left (A+B x^2\right )}{b x^2+c x^4} \, dx\) |
\(\Big \downarrow \) 9 |
\(\displaystyle \int \frac {A+B x^2}{x^{3/2} \left (b+c x^2\right )}dx\) |
\(\Big \downarrow \) 359 |
\(\displaystyle \frac {(b B-A c) \int \frac {\sqrt {x}}{c x^2+b}dx}{b}-\frac {2 A}{b \sqrt {x}}\) |
\(\Big \downarrow \) 266 |
\(\displaystyle \frac {2 (b B-A c) \int \frac {x}{c x^2+b}d\sqrt {x}}{b}-\frac {2 A}{b \sqrt {x}}\) |
\(\Big \downarrow \) 826 |
\(\displaystyle \frac {2 (b B-A c) \left (\frac {\int \frac {\sqrt {c} x+\sqrt {b}}{c x^2+b}d\sqrt {x}}{2 \sqrt {c}}-\frac {\int \frac {\sqrt {b}-\sqrt {c} x}{c x^2+b}d\sqrt {x}}{2 \sqrt {c}}\right )}{b}-\frac {2 A}{b \sqrt {x}}\) |
\(\Big \downarrow \) 1476 |
\(\displaystyle \frac {2 (b B-A c) \left (\frac {\frac {\int \frac {1}{x-\frac {\sqrt {2} \sqrt [4]{b} \sqrt {x}}{\sqrt [4]{c}}+\frac {\sqrt {b}}{\sqrt {c}}}d\sqrt {x}}{2 \sqrt {c}}+\frac {\int \frac {1}{x+\frac {\sqrt {2} \sqrt [4]{b} \sqrt {x}}{\sqrt [4]{c}}+\frac {\sqrt {b}}{\sqrt {c}}}d\sqrt {x}}{2 \sqrt {c}}}{2 \sqrt {c}}-\frac {\int \frac {\sqrt {b}-\sqrt {c} x}{c x^2+b}d\sqrt {x}}{2 \sqrt {c}}\right )}{b}-\frac {2 A}{b \sqrt {x}}\) |
\(\Big \downarrow \) 1082 |
\(\displaystyle \frac {2 (b B-A c) \left (\frac {\frac {\int \frac {1}{-x-1}d\left (1-\frac {\sqrt {2} \sqrt [4]{c} \sqrt {x}}{\sqrt [4]{b}}\right )}{\sqrt {2} \sqrt [4]{b} \sqrt [4]{c}}-\frac {\int \frac {1}{-x-1}d\left (\frac {\sqrt {2} \sqrt [4]{c} \sqrt {x}}{\sqrt [4]{b}}+1\right )}{\sqrt {2} \sqrt [4]{b} \sqrt [4]{c}}}{2 \sqrt {c}}-\frac {\int \frac {\sqrt {b}-\sqrt {c} x}{c x^2+b}d\sqrt {x}}{2 \sqrt {c}}\right )}{b}-\frac {2 A}{b \sqrt {x}}\) |
\(\Big \downarrow \) 217 |
\(\displaystyle \frac {2 (b B-A c) \left (\frac {\frac {\arctan \left (\frac {\sqrt {2} \sqrt [4]{c} \sqrt {x}}{\sqrt [4]{b}}+1\right )}{\sqrt {2} \sqrt [4]{b} \sqrt [4]{c}}-\frac {\arctan \left (1-\frac {\sqrt {2} \sqrt [4]{c} \sqrt {x}}{\sqrt [4]{b}}\right )}{\sqrt {2} \sqrt [4]{b} \sqrt [4]{c}}}{2 \sqrt {c}}-\frac {\int \frac {\sqrt {b}-\sqrt {c} x}{c x^2+b}d\sqrt {x}}{2 \sqrt {c}}\right )}{b}-\frac {2 A}{b \sqrt {x}}\) |
\(\Big \downarrow \) 1479 |
\(\displaystyle \frac {2 (b B-A c) \left (\frac {\frac {\arctan \left (\frac {\sqrt {2} \sqrt [4]{c} \sqrt {x}}{\sqrt [4]{b}}+1\right )}{\sqrt {2} \sqrt [4]{b} \sqrt [4]{c}}-\frac {\arctan \left (1-\frac {\sqrt {2} \sqrt [4]{c} \sqrt {x}}{\sqrt [4]{b}}\right )}{\sqrt {2} \sqrt [4]{b} \sqrt [4]{c}}}{2 \sqrt {c}}-\frac {-\frac {\int -\frac {\sqrt {2} \sqrt [4]{b}-2 \sqrt [4]{c} \sqrt {x}}{\sqrt [4]{c} \left (x-\frac {\sqrt {2} \sqrt [4]{b} \sqrt {x}}{\sqrt [4]{c}}+\frac {\sqrt {b}}{\sqrt {c}}\right )}d\sqrt {x}}{2 \sqrt {2} \sqrt [4]{b} \sqrt [4]{c}}-\frac {\int -\frac {\sqrt {2} \left (\sqrt {2} \sqrt [4]{c} \sqrt {x}+\sqrt [4]{b}\right )}{\sqrt [4]{c} \left (x+\frac {\sqrt {2} \sqrt [4]{b} \sqrt {x}}{\sqrt [4]{c}}+\frac {\sqrt {b}}{\sqrt {c}}\right )}d\sqrt {x}}{2 \sqrt {2} \sqrt [4]{b} \sqrt [4]{c}}}{2 \sqrt {c}}\right )}{b}-\frac {2 A}{b \sqrt {x}}\) |
\(\Big \downarrow \) 25 |
\(\displaystyle \frac {2 (b B-A c) \left (\frac {\frac {\arctan \left (\frac {\sqrt {2} \sqrt [4]{c} \sqrt {x}}{\sqrt [4]{b}}+1\right )}{\sqrt {2} \sqrt [4]{b} \sqrt [4]{c}}-\frac {\arctan \left (1-\frac {\sqrt {2} \sqrt [4]{c} \sqrt {x}}{\sqrt [4]{b}}\right )}{\sqrt {2} \sqrt [4]{b} \sqrt [4]{c}}}{2 \sqrt {c}}-\frac {\frac {\int \frac {\sqrt {2} \sqrt [4]{b}-2 \sqrt [4]{c} \sqrt {x}}{\sqrt [4]{c} \left (x-\frac {\sqrt {2} \sqrt [4]{b} \sqrt {x}}{\sqrt [4]{c}}+\frac {\sqrt {b}}{\sqrt {c}}\right )}d\sqrt {x}}{2 \sqrt {2} \sqrt [4]{b} \sqrt [4]{c}}+\frac {\int \frac {\sqrt {2} \left (\sqrt {2} \sqrt [4]{c} \sqrt {x}+\sqrt [4]{b}\right )}{\sqrt [4]{c} \left (x+\frac {\sqrt {2} \sqrt [4]{b} \sqrt {x}}{\sqrt [4]{c}}+\frac {\sqrt {b}}{\sqrt {c}}\right )}d\sqrt {x}}{2 \sqrt {2} \sqrt [4]{b} \sqrt [4]{c}}}{2 \sqrt {c}}\right )}{b}-\frac {2 A}{b \sqrt {x}}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {2 (b B-A c) \left (\frac {\frac {\arctan \left (\frac {\sqrt {2} \sqrt [4]{c} \sqrt {x}}{\sqrt [4]{b}}+1\right )}{\sqrt {2} \sqrt [4]{b} \sqrt [4]{c}}-\frac {\arctan \left (1-\frac {\sqrt {2} \sqrt [4]{c} \sqrt {x}}{\sqrt [4]{b}}\right )}{\sqrt {2} \sqrt [4]{b} \sqrt [4]{c}}}{2 \sqrt {c}}-\frac {\frac {\int \frac {\sqrt {2} \sqrt [4]{b}-2 \sqrt [4]{c} \sqrt {x}}{x-\frac {\sqrt {2} \sqrt [4]{b} \sqrt {x}}{\sqrt [4]{c}}+\frac {\sqrt {b}}{\sqrt {c}}}d\sqrt {x}}{2 \sqrt {2} \sqrt [4]{b} \sqrt {c}}+\frac {\int \frac {\sqrt {2} \sqrt [4]{c} \sqrt {x}+\sqrt [4]{b}}{x+\frac {\sqrt {2} \sqrt [4]{b} \sqrt {x}}{\sqrt [4]{c}}+\frac {\sqrt {b}}{\sqrt {c}}}d\sqrt {x}}{2 \sqrt [4]{b} \sqrt {c}}}{2 \sqrt {c}}\right )}{b}-\frac {2 A}{b \sqrt {x}}\) |
\(\Big \downarrow \) 1103 |
\(\displaystyle \frac {2 (b B-A c) \left (\frac {\frac {\arctan \left (\frac {\sqrt {2} \sqrt [4]{c} \sqrt {x}}{\sqrt [4]{b}}+1\right )}{\sqrt {2} \sqrt [4]{b} \sqrt [4]{c}}-\frac {\arctan \left (1-\frac {\sqrt {2} \sqrt [4]{c} \sqrt {x}}{\sqrt [4]{b}}\right )}{\sqrt {2} \sqrt [4]{b} \sqrt [4]{c}}}{2 \sqrt {c}}-\frac {\frac {\log \left (\sqrt {2} \sqrt [4]{b} \sqrt [4]{c} \sqrt {x}+\sqrt {b}+\sqrt {c} x\right )}{2 \sqrt {2} \sqrt [4]{b} \sqrt [4]{c}}-\frac {\log \left (-\sqrt {2} \sqrt [4]{b} \sqrt [4]{c} \sqrt {x}+\sqrt {b}+\sqrt {c} x\right )}{2 \sqrt {2} \sqrt [4]{b} \sqrt [4]{c}}}{2 \sqrt {c}}\right )}{b}-\frac {2 A}{b \sqrt {x}}\) |
(-2*A)/(b*Sqrt[x]) + (2*(b*B - A*c)*((-(ArcTan[1 - (Sqrt[2]*c^(1/4)*Sqrt[x ])/b^(1/4)]/(Sqrt[2]*b^(1/4)*c^(1/4))) + ArcTan[1 + (Sqrt[2]*c^(1/4)*Sqrt[ x])/b^(1/4)]/(Sqrt[2]*b^(1/4)*c^(1/4)))/(2*Sqrt[c]) - (-1/2*Log[Sqrt[b] - Sqrt[2]*b^(1/4)*c^(1/4)*Sqrt[x] + Sqrt[c]*x]/(Sqrt[2]*b^(1/4)*c^(1/4)) + L og[Sqrt[b] + Sqrt[2]*b^(1/4)*c^(1/4)*Sqrt[x] + Sqrt[c]*x]/(2*Sqrt[2]*b^(1/ 4)*c^(1/4)))/(2*Sqrt[c])))/b
3.2.89.3.1 Defintions of rubi rules used
Int[(u_.)*(Px_)^(p_.)*((e_.)*(x_))^(m_.), x_Symbol] :> With[{r = Expon[Px, x, Min]}, Simp[1/e^(p*r) Int[u*(e*x)^(m + p*r)*ExpandToSum[Px/x^r, x]^p, x], x] /; IGtQ[r, 0]] /; FreeQ[{e, m}, x] && PolyQ[Px, x] && IntegerQ[p] && !MonomialQ[Px, x]
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(-(Rt[-a, 2]*Rt[-b, 2])^( -1))*ArcTan[Rt[-b, 2]*(x/Rt[-a, 2])], x] /; FreeQ[{a, b}, x] && PosQ[a/b] & & (LtQ[a, 0] || LtQ[b, 0])
Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^2)^(p_), x_Symbol] :> With[{k = De nominator[m]}, Simp[k/c Subst[Int[x^(k*(m + 1) - 1)*(a + b*(x^(2*k)/c^2)) ^p, x], x, (c*x)^(1/k)], x]] /; FreeQ[{a, b, c, p}, x] && FractionQ[m] && I ntBinomialQ[a, b, c, 2, m, p, x]
Int[((e_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^2)^(p_.)*((c_) + (d_.)*(x_)^2), x _Symbol] :> Simp[c*(e*x)^(m + 1)*((a + b*x^2)^(p + 1)/(a*e*(m + 1))), x] + Simp[(a*d*(m + 1) - b*c*(m + 2*p + 3))/(a*e^2*(m + 1)) Int[(e*x)^(m + 2)* (a + b*x^2)^p, x], x] /; FreeQ[{a, b, c, d, e, p}, x] && NeQ[b*c - a*d, 0] && LtQ[m, -1] && !ILtQ[p, -1]
Int[(x_)^2/((a_) + (b_.)*(x_)^4), x_Symbol] :> With[{r = Numerator[Rt[a/b, 2]], s = Denominator[Rt[a/b, 2]]}, Simp[1/(2*s) Int[(r + s*x^2)/(a + b*x^ 4), x], x] - Simp[1/(2*s) Int[(r - s*x^2)/(a + b*x^4), x], x]] /; FreeQ[{ a, b}, x] && (GtQ[a/b, 0] || (PosQ[a/b] && AtomQ[SplitProduct[SumBaseQ, a]] && AtomQ[SplitProduct[SumBaseQ, b]]))
Int[((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> With[{q = 1 - 4*S implify[a*(c/b^2)]}, Simp[-2/b Subst[Int[1/(q - x^2), x], x, 1 + 2*c*(x/b )], x] /; RationalQ[q] && (EqQ[q^2, 1] || !RationalQ[b^2 - 4*a*c])] /; Fre eQ[{a, b, c}, x]
Int[((d_) + (e_.)*(x_))/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> S imp[d*(Log[RemoveContent[a + b*x + c*x^2, x]]/b), x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[2*c*d - b*e, 0]
Int[((d_) + (e_.)*(x_)^2)/((a_) + (c_.)*(x_)^4), x_Symbol] :> With[{q = Rt[ 2*(d/e), 2]}, Simp[e/(2*c) Int[1/Simp[d/e + q*x + x^2, x], x], x] + Simp[ e/(2*c) Int[1/Simp[d/e - q*x + x^2, x], x], x]] /; FreeQ[{a, c, d, e}, x] && EqQ[c*d^2 - a*e^2, 0] && PosQ[d*e]
Int[((d_) + (e_.)*(x_)^2)/((a_) + (c_.)*(x_)^4), x_Symbol] :> With[{q = Rt[ -2*(d/e), 2]}, Simp[e/(2*c*q) Int[(q - 2*x)/Simp[d/e + q*x - x^2, x], x], x] + Simp[e/(2*c*q) Int[(q + 2*x)/Simp[d/e - q*x - x^2, x], x], x]] /; F reeQ[{a, c, d, e}, x] && EqQ[c*d^2 - a*e^2, 0] && NegQ[d*e]
Time = 1.75 (sec) , antiderivative size = 127, normalized size of antiderivative = 0.54
method | result | size |
derivativedivides | \(-\frac {\left (A c -B b \right ) \sqrt {2}\, \left (\ln \left (\frac {x -\left (\frac {b}{c}\right )^{\frac {1}{4}} \sqrt {x}\, \sqrt {2}+\sqrt {\frac {b}{c}}}{x +\left (\frac {b}{c}\right )^{\frac {1}{4}} \sqrt {x}\, \sqrt {2}+\sqrt {\frac {b}{c}}}\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {x}}{\left (\frac {b}{c}\right )^{\frac {1}{4}}}+1\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {x}}{\left (\frac {b}{c}\right )^{\frac {1}{4}}}-1\right )\right )}{4 b c \left (\frac {b}{c}\right )^{\frac {1}{4}}}-\frac {2 A}{b \sqrt {x}}\) | \(127\) |
default | \(-\frac {\left (A c -B b \right ) \sqrt {2}\, \left (\ln \left (\frac {x -\left (\frac {b}{c}\right )^{\frac {1}{4}} \sqrt {x}\, \sqrt {2}+\sqrt {\frac {b}{c}}}{x +\left (\frac {b}{c}\right )^{\frac {1}{4}} \sqrt {x}\, \sqrt {2}+\sqrt {\frac {b}{c}}}\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {x}}{\left (\frac {b}{c}\right )^{\frac {1}{4}}}+1\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {x}}{\left (\frac {b}{c}\right )^{\frac {1}{4}}}-1\right )\right )}{4 b c \left (\frac {b}{c}\right )^{\frac {1}{4}}}-\frac {2 A}{b \sqrt {x}}\) | \(127\) |
risch | \(-\frac {\left (A c -B b \right ) \sqrt {2}\, \left (\ln \left (\frac {x -\left (\frac {b}{c}\right )^{\frac {1}{4}} \sqrt {x}\, \sqrt {2}+\sqrt {\frac {b}{c}}}{x +\left (\frac {b}{c}\right )^{\frac {1}{4}} \sqrt {x}\, \sqrt {2}+\sqrt {\frac {b}{c}}}\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {x}}{\left (\frac {b}{c}\right )^{\frac {1}{4}}}+1\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {x}}{\left (\frac {b}{c}\right )^{\frac {1}{4}}}-1\right )\right )}{4 b c \left (\frac {b}{c}\right )^{\frac {1}{4}}}-\frac {2 A}{b \sqrt {x}}\) | \(127\) |
-1/4*(A*c-B*b)/b/c/(1/c*b)^(1/4)*2^(1/2)*(ln((x-(1/c*b)^(1/4)*x^(1/2)*2^(1 /2)+(1/c*b)^(1/2))/(x+(1/c*b)^(1/4)*x^(1/2)*2^(1/2)+(1/c*b)^(1/2)))+2*arct an(2^(1/2)/(1/c*b)^(1/4)*x^(1/2)+1)+2*arctan(2^(1/2)/(1/c*b)^(1/4)*x^(1/2) -1))-2*A/b/x^(1/2)
Result contains complex when optimal does not.
Time = 0.26 (sec) , antiderivative size = 705, normalized size of antiderivative = 3.00 \[ \int \frac {\sqrt {x} \left (A+B x^2\right )}{b x^2+c x^4} \, dx=-\frac {b x \left (-\frac {B^{4} b^{4} - 4 \, A B^{3} b^{3} c + 6 \, A^{2} B^{2} b^{2} c^{2} - 4 \, A^{3} B b c^{3} + A^{4} c^{4}}{b^{5} c^{3}}\right )^{\frac {1}{4}} \log \left (b^{4} c^{2} \left (-\frac {B^{4} b^{4} - 4 \, A B^{3} b^{3} c + 6 \, A^{2} B^{2} b^{2} c^{2} - 4 \, A^{3} B b c^{3} + A^{4} c^{4}}{b^{5} c^{3}}\right )^{\frac {3}{4}} - {\left (B^{3} b^{3} - 3 \, A B^{2} b^{2} c + 3 \, A^{2} B b c^{2} - A^{3} c^{3}\right )} \sqrt {x}\right ) - i \, b x \left (-\frac {B^{4} b^{4} - 4 \, A B^{3} b^{3} c + 6 \, A^{2} B^{2} b^{2} c^{2} - 4 \, A^{3} B b c^{3} + A^{4} c^{4}}{b^{5} c^{3}}\right )^{\frac {1}{4}} \log \left (i \, b^{4} c^{2} \left (-\frac {B^{4} b^{4} - 4 \, A B^{3} b^{3} c + 6 \, A^{2} B^{2} b^{2} c^{2} - 4 \, A^{3} B b c^{3} + A^{4} c^{4}}{b^{5} c^{3}}\right )^{\frac {3}{4}} - {\left (B^{3} b^{3} - 3 \, A B^{2} b^{2} c + 3 \, A^{2} B b c^{2} - A^{3} c^{3}\right )} \sqrt {x}\right ) + i \, b x \left (-\frac {B^{4} b^{4} - 4 \, A B^{3} b^{3} c + 6 \, A^{2} B^{2} b^{2} c^{2} - 4 \, A^{3} B b c^{3} + A^{4} c^{4}}{b^{5} c^{3}}\right )^{\frac {1}{4}} \log \left (-i \, b^{4} c^{2} \left (-\frac {B^{4} b^{4} - 4 \, A B^{3} b^{3} c + 6 \, A^{2} B^{2} b^{2} c^{2} - 4 \, A^{3} B b c^{3} + A^{4} c^{4}}{b^{5} c^{3}}\right )^{\frac {3}{4}} - {\left (B^{3} b^{3} - 3 \, A B^{2} b^{2} c + 3 \, A^{2} B b c^{2} - A^{3} c^{3}\right )} \sqrt {x}\right ) - b x \left (-\frac {B^{4} b^{4} - 4 \, A B^{3} b^{3} c + 6 \, A^{2} B^{2} b^{2} c^{2} - 4 \, A^{3} B b c^{3} + A^{4} c^{4}}{b^{5} c^{3}}\right )^{\frac {1}{4}} \log \left (-b^{4} c^{2} \left (-\frac {B^{4} b^{4} - 4 \, A B^{3} b^{3} c + 6 \, A^{2} B^{2} b^{2} c^{2} - 4 \, A^{3} B b c^{3} + A^{4} c^{4}}{b^{5} c^{3}}\right )^{\frac {3}{4}} - {\left (B^{3} b^{3} - 3 \, A B^{2} b^{2} c + 3 \, A^{2} B b c^{2} - A^{3} c^{3}\right )} \sqrt {x}\right ) + 4 \, A \sqrt {x}}{2 \, b x} \]
-1/2*(b*x*(-(B^4*b^4 - 4*A*B^3*b^3*c + 6*A^2*B^2*b^2*c^2 - 4*A^3*B*b*c^3 + A^4*c^4)/(b^5*c^3))^(1/4)*log(b^4*c^2*(-(B^4*b^4 - 4*A*B^3*b^3*c + 6*A^2* B^2*b^2*c^2 - 4*A^3*B*b*c^3 + A^4*c^4)/(b^5*c^3))^(3/4) - (B^3*b^3 - 3*A*B ^2*b^2*c + 3*A^2*B*b*c^2 - A^3*c^3)*sqrt(x)) - I*b*x*(-(B^4*b^4 - 4*A*B^3* b^3*c + 6*A^2*B^2*b^2*c^2 - 4*A^3*B*b*c^3 + A^4*c^4)/(b^5*c^3))^(1/4)*log( I*b^4*c^2*(-(B^4*b^4 - 4*A*B^3*b^3*c + 6*A^2*B^2*b^2*c^2 - 4*A^3*B*b*c^3 + A^4*c^4)/(b^5*c^3))^(3/4) - (B^3*b^3 - 3*A*B^2*b^2*c + 3*A^2*B*b*c^2 - A^ 3*c^3)*sqrt(x)) + I*b*x*(-(B^4*b^4 - 4*A*B^3*b^3*c + 6*A^2*B^2*b^2*c^2 - 4 *A^3*B*b*c^3 + A^4*c^4)/(b^5*c^3))^(1/4)*log(-I*b^4*c^2*(-(B^4*b^4 - 4*A*B ^3*b^3*c + 6*A^2*B^2*b^2*c^2 - 4*A^3*B*b*c^3 + A^4*c^4)/(b^5*c^3))^(3/4) - (B^3*b^3 - 3*A*B^2*b^2*c + 3*A^2*B*b*c^2 - A^3*c^3)*sqrt(x)) - b*x*(-(B^4 *b^4 - 4*A*B^3*b^3*c + 6*A^2*B^2*b^2*c^2 - 4*A^3*B*b*c^3 + A^4*c^4)/(b^5*c ^3))^(1/4)*log(-b^4*c^2*(-(B^4*b^4 - 4*A*B^3*b^3*c + 6*A^2*B^2*b^2*c^2 - 4 *A^3*B*b*c^3 + A^4*c^4)/(b^5*c^3))^(3/4) - (B^3*b^3 - 3*A*B^2*b^2*c + 3*A^ 2*B*b*c^2 - A^3*c^3)*sqrt(x)) + 4*A*sqrt(x))/(b*x)
Time = 8.34 (sec) , antiderivative size = 309, normalized size of antiderivative = 1.31 \[ \int \frac {\sqrt {x} \left (A+B x^2\right )}{b x^2+c x^4} \, dx=\begin {cases} \tilde {\infty } \left (- \frac {2 A}{5 x^{\frac {5}{2}}} - \frac {2 B}{\sqrt {x}}\right ) & \text {for}\: b = 0 \wedge c = 0 \\\frac {- \frac {2 A}{5 x^{\frac {5}{2}}} - \frac {2 B}{\sqrt {x}}}{c} & \text {for}\: b = 0 \\\frac {- \frac {2 A}{\sqrt {x}} + \frac {2 B x^{\frac {3}{2}}}{3}}{b} & \text {for}\: c = 0 \\- \frac {2 A \operatorname {atan}{\left (\frac {\sqrt {x}}{\sqrt [4]{- \frac {b}{c}}} \right )}}{b \sqrt [4]{- \frac {b}{c}}} - \frac {2 A}{b \sqrt {x}} + \frac {A c \left (- \frac {b}{c}\right )^{\frac {3}{4}} \log {\left (\sqrt {x} - \sqrt [4]{- \frac {b}{c}} \right )}}{2 b^{2}} - \frac {A c \left (- \frac {b}{c}\right )^{\frac {3}{4}} \log {\left (\sqrt {x} + \sqrt [4]{- \frac {b}{c}} \right )}}{2 b^{2}} - \frac {A c \left (- \frac {b}{c}\right )^{\frac {3}{4}} \operatorname {atan}{\left (\frac {\sqrt {x}}{\sqrt [4]{- \frac {b}{c}}} \right )}}{b^{2}} + \frac {2 B \operatorname {atan}{\left (\frac {\sqrt {x}}{\sqrt [4]{- \frac {b}{c}}} \right )}}{c \sqrt [4]{- \frac {b}{c}}} - \frac {B \left (- \frac {b}{c}\right )^{\frac {3}{4}} \log {\left (\sqrt {x} - \sqrt [4]{- \frac {b}{c}} \right )}}{2 b} + \frac {B \left (- \frac {b}{c}\right )^{\frac {3}{4}} \log {\left (\sqrt {x} + \sqrt [4]{- \frac {b}{c}} \right )}}{2 b} + \frac {B \left (- \frac {b}{c}\right )^{\frac {3}{4}} \operatorname {atan}{\left (\frac {\sqrt {x}}{\sqrt [4]{- \frac {b}{c}}} \right )}}{b} & \text {otherwise} \end {cases} \]
Piecewise((zoo*(-2*A/(5*x**(5/2)) - 2*B/sqrt(x)), Eq(b, 0) & Eq(c, 0)), (( -2*A/(5*x**(5/2)) - 2*B/sqrt(x))/c, Eq(b, 0)), ((-2*A/sqrt(x) + 2*B*x**(3/ 2)/3)/b, Eq(c, 0)), (-2*A*atan(sqrt(x)/(-b/c)**(1/4))/(b*(-b/c)**(1/4)) - 2*A/(b*sqrt(x)) + A*c*(-b/c)**(3/4)*log(sqrt(x) - (-b/c)**(1/4))/(2*b**2) - A*c*(-b/c)**(3/4)*log(sqrt(x) + (-b/c)**(1/4))/(2*b**2) - A*c*(-b/c)**(3 /4)*atan(sqrt(x)/(-b/c)**(1/4))/b**2 + 2*B*atan(sqrt(x)/(-b/c)**(1/4))/(c* (-b/c)**(1/4)) - B*(-b/c)**(3/4)*log(sqrt(x) - (-b/c)**(1/4))/(2*b) + B*(- b/c)**(3/4)*log(sqrt(x) + (-b/c)**(1/4))/(2*b) + B*(-b/c)**(3/4)*atan(sqrt (x)/(-b/c)**(1/4))/b, True))
Time = 0.29 (sec) , antiderivative size = 194, normalized size of antiderivative = 0.83 \[ \int \frac {\sqrt {x} \left (A+B x^2\right )}{b x^2+c x^4} \, dx=\frac {{\left (B b - A c\right )} {\left (\frac {2 \, \sqrt {2} \arctan \left (\frac {\sqrt {2} {\left (\sqrt {2} b^{\frac {1}{4}} c^{\frac {1}{4}} + 2 \, \sqrt {c} \sqrt {x}\right )}}{2 \, \sqrt {\sqrt {b} \sqrt {c}}}\right )}{\sqrt {\sqrt {b} \sqrt {c}} \sqrt {c}} + \frac {2 \, \sqrt {2} \arctan \left (-\frac {\sqrt {2} {\left (\sqrt {2} b^{\frac {1}{4}} c^{\frac {1}{4}} - 2 \, \sqrt {c} \sqrt {x}\right )}}{2 \, \sqrt {\sqrt {b} \sqrt {c}}}\right )}{\sqrt {\sqrt {b} \sqrt {c}} \sqrt {c}} - \frac {\sqrt {2} \log \left (\sqrt {2} b^{\frac {1}{4}} c^{\frac {1}{4}} \sqrt {x} + \sqrt {c} x + \sqrt {b}\right )}{b^{\frac {1}{4}} c^{\frac {3}{4}}} + \frac {\sqrt {2} \log \left (-\sqrt {2} b^{\frac {1}{4}} c^{\frac {1}{4}} \sqrt {x} + \sqrt {c} x + \sqrt {b}\right )}{b^{\frac {1}{4}} c^{\frac {3}{4}}}\right )}}{4 \, b} - \frac {2 \, A}{b \sqrt {x}} \]
1/4*(B*b - A*c)*(2*sqrt(2)*arctan(1/2*sqrt(2)*(sqrt(2)*b^(1/4)*c^(1/4) + 2 *sqrt(c)*sqrt(x))/sqrt(sqrt(b)*sqrt(c)))/(sqrt(sqrt(b)*sqrt(c))*sqrt(c)) + 2*sqrt(2)*arctan(-1/2*sqrt(2)*(sqrt(2)*b^(1/4)*c^(1/4) - 2*sqrt(c)*sqrt(x ))/sqrt(sqrt(b)*sqrt(c)))/(sqrt(sqrt(b)*sqrt(c))*sqrt(c)) - sqrt(2)*log(sq rt(2)*b^(1/4)*c^(1/4)*sqrt(x) + sqrt(c)*x + sqrt(b))/(b^(1/4)*c^(3/4)) + s qrt(2)*log(-sqrt(2)*b^(1/4)*c^(1/4)*sqrt(x) + sqrt(c)*x + sqrt(b))/(b^(1/4 )*c^(3/4)))/b - 2*A/(b*sqrt(x))
Time = 0.30 (sec) , antiderivative size = 251, normalized size of antiderivative = 1.07 \[ \int \frac {\sqrt {x} \left (A+B x^2\right )}{b x^2+c x^4} \, dx=-\frac {2 \, A}{b \sqrt {x}} + \frac {\sqrt {2} {\left (\left (b c^{3}\right )^{\frac {3}{4}} B b - \left (b c^{3}\right )^{\frac {3}{4}} A c\right )} \arctan \left (\frac {\sqrt {2} {\left (\sqrt {2} \left (\frac {b}{c}\right )^{\frac {1}{4}} + 2 \, \sqrt {x}\right )}}{2 \, \left (\frac {b}{c}\right )^{\frac {1}{4}}}\right )}{2 \, b^{2} c^{3}} + \frac {\sqrt {2} {\left (\left (b c^{3}\right )^{\frac {3}{4}} B b - \left (b c^{3}\right )^{\frac {3}{4}} A c\right )} \arctan \left (-\frac {\sqrt {2} {\left (\sqrt {2} \left (\frac {b}{c}\right )^{\frac {1}{4}} - 2 \, \sqrt {x}\right )}}{2 \, \left (\frac {b}{c}\right )^{\frac {1}{4}}}\right )}{2 \, b^{2} c^{3}} - \frac {\sqrt {2} {\left (\left (b c^{3}\right )^{\frac {3}{4}} B b - \left (b c^{3}\right )^{\frac {3}{4}} A c\right )} \log \left (\sqrt {2} \sqrt {x} \left (\frac {b}{c}\right )^{\frac {1}{4}} + x + \sqrt {\frac {b}{c}}\right )}{4 \, b^{2} c^{3}} + \frac {\sqrt {2} {\left (\left (b c^{3}\right )^{\frac {3}{4}} B b - \left (b c^{3}\right )^{\frac {3}{4}} A c\right )} \log \left (-\sqrt {2} \sqrt {x} \left (\frac {b}{c}\right )^{\frac {1}{4}} + x + \sqrt {\frac {b}{c}}\right )}{4 \, b^{2} c^{3}} \]
-2*A/(b*sqrt(x)) + 1/2*sqrt(2)*((b*c^3)^(3/4)*B*b - (b*c^3)^(3/4)*A*c)*arc tan(1/2*sqrt(2)*(sqrt(2)*(b/c)^(1/4) + 2*sqrt(x))/(b/c)^(1/4))/(b^2*c^3) + 1/2*sqrt(2)*((b*c^3)^(3/4)*B*b - (b*c^3)^(3/4)*A*c)*arctan(-1/2*sqrt(2)*( sqrt(2)*(b/c)^(1/4) - 2*sqrt(x))/(b/c)^(1/4))/(b^2*c^3) - 1/4*sqrt(2)*((b* c^3)^(3/4)*B*b - (b*c^3)^(3/4)*A*c)*log(sqrt(2)*sqrt(x)*(b/c)^(1/4) + x + sqrt(b/c))/(b^2*c^3) + 1/4*sqrt(2)*((b*c^3)^(3/4)*B*b - (b*c^3)^(3/4)*A*c) *log(-sqrt(2)*sqrt(x)*(b/c)^(1/4) + x + sqrt(b/c))/(b^2*c^3)
Time = 9.06 (sec) , antiderivative size = 71, normalized size of antiderivative = 0.30 \[ \int \frac {\sqrt {x} \left (A+B x^2\right )}{b x^2+c x^4} \, dx=\frac {\mathrm {atan}\left (\frac {c^{1/4}\,\sqrt {x}}{{\left (-b\right )}^{1/4}}\right )\,\left (A\,c-B\,b\right )}{{\left (-b\right )}^{5/4}\,c^{3/4}}-\frac {2\,A}{b\,\sqrt {x}}-\frac {\mathrm {atanh}\left (\frac {c^{1/4}\,\sqrt {x}}{{\left (-b\right )}^{1/4}}\right )\,\left (A\,c-B\,b\right )}{{\left (-b\right )}^{5/4}\,c^{3/4}} \]